﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class SumUtils
    {
        private int integer;
        private int integer1;
        private double decimals;
        private double decimals2;
        private string character;
        private string character2;
        private int integer2;
        public int Integer { get { return this.integer; } set { integer = value; } }
        public int Integer1 { get { return this.integer; } set { integer = value; } }
        public double Decimals { get { return this.decimals; } set { decimals = value; } }
        public double Decimals2 { get { return this.decimals; } set { decimals = value; } }
        public string Characer { get { return this.character; } set { character = value; } }
        public string Characer2 { get { return this.character; } set { character = value; } }
        public int Integer2 { get { return this.integer2; } set { integer2 = value; } }

        public int QiuHe(int integer, int integer1)
        {
            return integer + integer1;
        }
        public double QiuHe(double decimals, double decimals2)
        {
            return decimals + decimals2;
        }
        public string QiuHe(string character, string character2)
        {
            return character + character2;
        }
        public int QiuHe(int integer2)
        {
            int num = 0;
            for (int i = 1; i <= integer2; i++)
            {
                num = num + i;
            }
            return num;
        }


    }
}
